package com.copc.common.model.order;

import com.copc.common.constants.AmountType;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;


@Getter
@Setter
@ToString
public class Amount {

    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 金额类型
     */
    private AmountType type;

    /**
     * 金额
     */
    private BigDecimal amount;
}
